package learninganalytics;

import managesystem.Student;
import tracksystem.OtherActivity;
import tracksystem.SchoolActivity;
import administration.Admin;

import com.googlecode.objectify.ObjectifyService;

import controlsystem.Badge;
import controlsystem.Course;

public class Register {
	private static boolean registered = false;
	
	public static void init(){
		
		if(registered ==false){
			ObjectifyService.register(Student.class);
			ObjectifyService.register(Admin.class);
			ObjectifyService.register(Course.class);
			ObjectifyService.register(Badge.class);
			ObjectifyService.register(SchoolActivity.class);
			ObjectifyService.register(OtherActivity.class);
			registered=true;
		}
	}
}
